#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
#include<cstdio>

using namespace std;

int main()
{
    int x, arr[10];
    cin >> x;
    arr[0] = x;
    for (int j = 1; j < 10; j++)
    {
        arr[j] = arr[j - 1] * 2;
    }
    for (int i = 0; i < 10; i++)
    {
        printf("N[%d] = %d\n", i, arr[i]);
    }
    return 0;
}